From 76d1770205fba6d7930104951b0b55ba8b7531d0 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 26 Sep 2007 11:36:30 +0000 Subject: [PATCH] Change message function to make usage of {{PLURAL:}} in 'restorelink' the same way as Skin.php uses it. --- includes/SpecialUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 0360d33ca8..cdaa74e777 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -820,7 +820,7 @@ wgAjaxLicensePreview = {$alp}; array( 'parse', 'replaceafter' ), $wgUser->getSkin()->makeKnownLinkObj( SpecialPage::getTitleFor( 'Undelete', $title->getPrefixedText() ), - wfMsgHtml( 'restorelink', $count ) + wfMsgExt( 'restorelink', array( 'parsemag', 'escape' ), $count ) ) ); $wgOut->addHtml( "
{$link}
" ); -- 2.20.1